<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<% int i = 0; %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>标的详情</title>
<style type="text/css">
label {
	min-width: 120px;
	display: inline-block;
	text-align: right;
}
</style>
<script type="text/javascript">
function _submitAction4borrowInfo(obj, action, params)
{
		var submitForm;
		while ((obj.parentNode) && (obj.parentNode.tagName) && (!obj.parentNode.tagName.match(/FORM/i)))
		{
			obj = obj.parentNode;
		}
		submitForm = obj.parentNode;
		if(!submitForm)
		{
			submitForm = document.createElement("form");
			document.body.appendChild(submitForm);
		}
		submitForm.setAttribute("action", action);
		submitForm.setAttribute("method", "POST");
		for(var key in params)
		{
				var hiddenField = document.createElement("input");
				hiddenField.setAttribute("type", "hidden");
				hiddenField.setAttribute("name", key);
				hiddenField.setAttribute("value", params[key]);
				submitForm.appendChild(hiddenField);
		}
        submitForm.submit();
}
</script>
</head>
<body>
<div class="youarehere">标的管理 &gt; <span>标的审核</span>&gt; </div>
<form id="borrowInfo"  action="<%=request.getContextPath()%>/borrowInfo/examine" method="POST" onSubmit="return submit4borrowInfo();">
<table class="data_table_main">
<tr>
<td background="<chtml:path path="/" />layout/list/tab_top.gif">
<!-- borrowInfo标题头 -->
<table class="data_table_title">
<tr>
<td width="12" height="30"><img src="<chtml:path path="/" />layout/list/tab_left_top.gif" width="12" height="30" /></td><td align='left'><img src="<chtml:path path="/" />layout/list/list.gif" width="16" height="16" />标的详情</td>
<td align='right'>
&nbsp;
</td><td width="16"><img src="<chtml:path path="/" />layout/list/tab_right_top.gif" width="16" height="30" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="8" background="<chtml:path path="/" />layout/list/tab_left.gif">&nbsp;</td>
<td>

<!-- borrowInfo数据区 -->
<table id="main_table4borrowInfo" class="data_table_command">
<tr>
<td class="data_tab_tdr">标的名称</td>
<td class="data_tab_tdl">${borrowInfo.borrowName}</td>
<td class="data_tab_tdr">借款用户</td>
<td class="data_tab_tdl">${borrowInfo.borrowUserName}</td>
<td class="data_tab_tdr">申请时间</td>
<td class="data_tab_tdl">${borrowInfo.createTime}</td>
</tr>
<tr>
<td class="data_tab_tdr">借款金额</td>
<td class="data_tab_tdl">${borrowInfo.borrowMoney}元</td>
<td class="data_tab_tdr">年化利率</td>
<td class="data_tab_tdl">${borrowInfo.borrowRate}%</td>
<td class="data_tab_tdr">附加利率(奖励)</td>
<td class="data_tab_tdl">${borrowInfo.rewardRate}%</td>
</tr>
<tr>
<td class="data_tab_tdr">还款方式</td>
<td class="data_tab_tdl">${borrowInfo.repaymentType.text}</td>
<td class="data_tab_tdr">借款周期</td>
<td class="data_tab_tdl">${borrowInfo.borrowDurationDec}</td>
<td class="data_tab_tdr">筹款时长</td>
<td class="data_tab_tdl">${borrowInfo.raiseDuration}小时</td>
</tr>
<tr>
<td class="data_tab_tdr">最小投标金额</td>
<td class="data_tab_tdl">${borrowInfo.minInvest}元</td>
<td class="data_tab_tdr">最大投标金额</td>
<td class="data_tab_tdl">${borrowInfo.maxInvest}元</td>
<td class="data_tab_tdr">投标金额增量</td>
<td class="data_tab_tdl">${borrowInfo.incMoney}元</td>
</tr>
<tr>
<td class="data_tab_tdr">借款服务费率</td>
<td class="data_tab_tdl">${borrowInfo.borrowFeeRate}%</td>
<td class="data_tab_tdr">借款担保费率</td>
<td class="data_tab_tdl">${borrowInfo.guaranteeFeeRate}%</td>
<td class="data_tab_tdr">借款管理费率</td>
<td class="data_tab_tdl">${borrowInfo.managerFeeRate}%</td>
</tr>
<tr>
<td class="data_tab_tdr">担保企业</td>
<td class="data_tab_tdl" colspan="5">${borrowInfo.guaranteeRealName}</td>
</tr>
<tr>
<td colspan="6" align="center" height="25" class="data_tab_td">
<button type="button" onclick="javascript:if(true){void(_submitAction4borrowInfo(this,'<%=request.getContextPath()%>/borrowInfo/examine/${borrowInfo.id}/PASS',{}));return false;}">审核通过</button>
<button type="button" onclick="javascript:if(true){void(_submitAction4borrowInfo(this,'<%=request.getContextPath()%>/borrowInfo/examine/${borrowInfo.id}/UNPASS',{}));return false;}">审核不通过</button>
&nbsp;&nbsp;
<button type="button" onclick="javascript:void(history.back(-1))" >·返回·</button></td>
</tr>
</table>
</td>
<td width="8" background="<chtml:path path="/" />layout/list/tab_right.gif">&nbsp;</td> </tr>
</table>
</td>
</tr>
<tr>
<td background="<chtml:path path="/" />layout/list/tab_bottom.gif">
<table class="data_table_pagination" align='center' cellpadding='0' cellspacing='0'>
<tr><td width="12" height="35"><img src="<chtml:path path="/" />layout/list/tab_left_bottom.gif" width="12" height="35" /></td><td>&nbsp;</td><td width="16"><img src="<chtml:path path="/" />layout/list/tab_right_bottom.gif" width="16" height="35" /></td></tr></table>
</td>
</tr>
</table>
<!-- borrowInfo结束 -->
</form>
</body>
</html>